/**
 * 
 */
package ganga.custodian;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;

/**
 * Получает сообщение об изменении конфигурации
 * @author Apocrypha
 *
 */
public class OnConfigurationChangedReceiver extends BroadcastReceiver {

	/* (non-Javadoc)
	 * @see android.content.BroadcastReceiver#onReceive(android.content.Context, android.content.Intent)
	 */
	@Override
	public void onReceive(Context context, Intent intent) {
		Uri data =intent.getData();
		String type = intent.getStringExtra("type");
		if(!type.equals("custodian_test_request "))
			return;
		
		LoggingService.test();
	}

}
